import request from '@/utils/request'

// 在线人数统计
export function onlineNum(){
  return request({
    url: '/archive/cockPit/onlineNums',
    method: 'GET'
  })
}
//库房统计
export function storeRoomNums(){
  return request({
    url: '/archive/cockPit/storeRoomNums',
    method: 'GET'
  })
}
//数字化统计
export function digitalStatisticsNums(){
  return request({
    url: '/archive/cockPit/digitalStatisticsNums',
    method: 'GET'
  })
}
//利用统计
export function utilizingStatisticsNums(query){
  return request({
    url: '/archive/cockPit/utilizingStatisticsNums',
    method: 'GET',
    params:query
  })
}

//库存统计  档案情况展示
export function stockNums(query){
  return request({
    url: '/archive/cockPit/stockNums',
    method: 'GET',
    params:query
  })
}

//电子档案归档饼状图
export function archiveFileNums(query){
  return request({
    url: '/archive/cockPit/archiveFileNums',
    method: 'GET',
    params:query
  })
}

//电子档案归档饼状图
export function archiveFileNums2(query){
  return request({
    url: '/archive/cockPit/archiveFileNums2',
    method: 'GET',
    params:query
  })
}

//移交统计
export function handOverReceiveNums(query){
  return request({
    url: '/archive/cockPit/handOverReceiveNums',
    method: 'GET',
    params:query
  })
}

//接收统计
export function receptionNums(query){
  return request({
    url: '/archive/cockPit/receptionNums',
    method: 'GET',
    params:query
  })
}

//移交统计按年度
export function handOverReceiveNumsByYear(query){
  return request({
    url: '/archive/cockPit/handOverReceiveNumsByYear',
    method: 'GET',
    params:query
  })
}
//接收统计按年度
export function receptionNumsByYear(query){
  return request({
    url: '/archive/cockPit/receptionNumsByYear',
    method: 'GET',
    params:query
  })
}

//更新缓存
export function updateRedisData(query){
  return request({
    url: '/archive/cockPit/updateRedisData',
    method: 'GET',
    params:query
  })
}